10. It's OK to Forget
It's OK to Forget
You may be wondering why anchor tags use the href attribute while img tags use the src attribute. And you may become frustrated when (not if) you make the mistake of using one when you really need the other. Because when you make this mistake, your HTML will not work.
So how will you ever remember details like this? Well… you don't have to!
In fact, you may have already forgotten how to add links to HTML. That's fine. Unless you're writing HTML all the time, details like these aren't worth remembering. A Google search for "adding links in html" will always get you your answer.
New programmers often struggle with this because in other learning environments it's often important that you remember a lot of facts. But programming doesn't work like that! There are just too many facts to remember them all. Instead, you need to understand a few big ideas and know how to get the details you need when you need them.
When you do forget stuff, there are lots of resources to help you out. A Google search is usually helpful. Another great place is W3Schools, a website with lots of documentation on web development, including a huge reference guide of HTML tags. Another solid resource is MDN (Mozilla Developer Network), specifically their section on HTML. As you get more experience programming, the more you'll learn about all the amazing resources the web has for new and professional programmers.
Use Documentation!